package com.ruoyi.ybUpload.mapper;

import java.util.List;

import com.ruoyi.ybUpload.domain.jxc.*;
import com.ruoyi.ybUpload.domain.tableCode.TraceCode;

/**
 * 药品批次表Mapper接口
 *
 * @author wkw
 * @date 2024-08-07
 */
public interface TraceCodeMapper
{
    /**
     * 查询药品批次表
     *
     * @param id 药品批次表主键
     * @return 药品批次表
     */
    public TraceCode selectTraceCodeById(Long id);

    /**
     * 查询药品批次表列表
     *
     * @param traceCode 药品批次表
     * @return 药品批次表集合
     */
    public List<TraceCode> selectTraceCodeList(TraceCode traceCode);

    public Domain3501 selectInvinfo(TraceCode traceCode);

    public Domain3502 selectInvinfo3502(TraceCode traceCode);

    public Domain3503 selectInvinfo3503(TraceCode traceCode);

    public Domain3505 selectInvinfo3505(TraceCode traceCode);

    public Domain3504 selectInvinfo3504(TraceCode traceCode);

    //public Domain3506 selectInvinfo3506(TraceCode traceCode);

    //public Domain3508 selectInvinfo3508(TraceCode traceCode);
    /**
     * 新增药品批次表
     *
     * @param traceCode 药品批次表
     * @return 结果
     */
    public int insertTraceCode(TraceCode traceCode);

    /**
     * 修改药品批次表
     *
     * @param traceCode 药品批次表
     * @return 结果
     */
    public int updateTraceCode(TraceCode traceCode);

    /**
     * 删除药品批次表
     *
     * @param id 药品批次表主键
     * @return 结果
     */
    public int deleteTraceCodeById(Long id);

    /**
     * 批量删除药品批次表
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteTraceCodeByIds(Long[] ids);


}